<template>
    <view>
        <button class="getCaptcha" open-type="getUserInfo" scope="userInfo" @getuserinfo="setLogin"
            @click="setLogin">微信一键登录</button>
    </view>
</template>

<script setup lang="ts">
import useLogin from '@/hooks/useLogin';

const { setLogin } = useLogin()
</script>
